package org.ndky.remoteService;

import org.ndky.fallback.FallbackRemoteCall;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(contextId = "providerServiceRM",
        name = "service-provider",
        fallbackFactory = FallbackRemoteCall.class)
public interface ProviderServiceRM {
    @GetMapping(value = "/provider/hello")
    public String hello();
}
